Removed printout statements and redundant comments