simplified API with function generation