change render method