add demo for custom renderer