private function calcRS() { if ($this->durationMS <= 500) { $this->durationMS = 501; } $this->readingSpeed = $this->strlen() * 1000 / ($this->durationMS - 500); }