removing an unnecessary printing