mouse example updated