removed debugging mode