attr_accessors added, string removed, unrequitted variables removed