add course attr