Added comments and removed specific code

Added comments and removed specific code