renamed funcinstance to lambdainstance