no attr_reader available in that scope