removed verbose printfs