removed unnecessary outputs