alignment method