Chnage extra to attribute