added switch statement for new mode