changed to mousedown