* added dataset to render function