see #2 - add initial setSingleAttr function
Maybe there is a problem left with padding bytes