Pinpointed the problem with the block operation, removed the rest of the debug code