added parameter "options" in method "render"