added mouse pointer integration