Added renderType