what would cause the loop? also please put explicit parenthesis around ``!$this->events->valid() && $this->currentMillis``