Developing critical thinking