change trait structure