rename props to input