removed unnecessary inputs/outputs