added support for 'render' intrinsic