everything done exept for intersection case