inline func works as lambdas