removed some commented out code and added some comments;