creating runnable with lambdas