add attr_reader for area & perimeter