Added printout at the end