removed unneccesary debug messages