taking out debug outputs