creating a lambda function using a variable amount of arguments