add attributes instance variable
Merge pull request #4 from amco/add-attributes-var-to-setter-method

add attributes instance variable