add degree parser