do alignment for coding