Challenges of using technology in teaching and learning