public function __construct($domain)
 {
     self::$dom = $domain;
     $this->domain = $domain;
 }