A bit more of validEnds