Impact of STEM on students’ intellectual engagement