Insert endl in coupple of places