adding demo mode