Change ark mode to number