lines removed

removed unneeded functions and comments