adding final print statement