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