Some examples of using lambda and apply