changed position of printing out message