function generation. incomplete, block by lack of information