added mouse tracking