Removed debugging functionality