get rid of unnecessary printing