adding m buttons