added grey limit option.