add alignment method