adding degree search