added 3rd line to print statements