Code rearranged.