added support for lambda rendering