Enhancing engineering students' mathematical competency through mathematical thinking