beginning work on mouse detection