removed debugging functions from last commit