working on mouse selection