public static function getInstance() { if (!isset(self::$instance)) { self::$instance = new Navigator(); } return self::$instance; }