removed supurflous \n and fixed formatting