removed some unnecessary printing