changed to trait