Remove repeat and consolidate into 1 line.