Removed unnecessary printlns.