cleaned up println code