removed typo for attr_reader