made some changes removed some comments.