Changed renderType