allow setting render context