function degree added