code realignment