typo + renamed private function _isOutOfBounds