updated area.rb with methods to assign attributes