added demos in main for testing