Added additional debugging to crop