add function: replace A => B

add the input field of B