printing out the the correct format, finished