removed some unnecessary printings