how is an alignment done