Cleaning

commented and cleaned up file for readbilty