FIX: changed self::ROOTELEMENT to $this->ROOTELEMENT as ROOTELEMENT is no longer static