constructors to Attr
make it work