rearrange code examples