remove some debug code and update the interface