UPDATE 6

Added some comments , and removed some of the unwanted functions.