first pass at adding lambda to lua function