removed unnecessary inputs