Added lambda funtions