Added some corrections concerning lambdas