merged the functionality of the renderer with the toolkit datatype