removed unnecessary output and overhead