Added a print statement and other stuff.