Added some 'print's for debugging