get rid of the endl