A model of hopelessness, belongingness, engagement, and academic achievement