Removed printlns and debug statements.