refactored alignments