Added some notes and the lambda function