added IsDemo