record alignment