Text this: Determinants of academic achievement from the middle to secondary school education