doing alignment