Reordered code