add black line detector