refactory non-model backed input to a helper