make input names dynamic