removed unnecessary debugging functions