removing unnecessary printing