introducing MousePointer class