removed unnecessary printing