add lambda sample code