replace criss-crossed lines with labels