adds alignment and reorg