(instabile) add first phase for comparing existing headers