add different versions of br_input.c