complete general logic, finish EB path