changed the input type