Added Comments and Removed unneeded functions