using render dict