added attributes and string output to area.rb