removed AlignAssignments function