created render method