updated code to better handle param form control value typing.  more to come.