modified operate mouse