public function at($position) { $index = $position % count($this->list); return $this->list[$index]; }