add some additional attributes to pieces