added more modes for magic panel