generator: function info