The main for the demo