Removed printlns from code