add initial support for generating functions.

generating arbitrary values atm, need to constrain based on input