add the demo of ivar