implemented define and lambda syntax