added mod switch
added mod switch