removed some debug outputs, comments