include render function in options.