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