add attributes helper
Merge pull request #11 from dieguezz/master

add attributes helper