An inquiry-oriented approach for making the best use of ICT in the classroom