working on demo mode switching