Added some useful print statements.