removed unnecessary output to terminal