removed debugging stmnts