added missing attr_reader