added numeric type to inputs