Created example that has lambda as return alue