add mash controller