removed unnecessary printStackTrace