changing style to class
Merge pull request #6 from klauBertram/attr-fix

changing style to class