Hafeez happy to do well for the team