added dynamic render type