added support for numeric string input values
added support for array input values