Realign code