add degree limit