modifying inputs