changed print to println