added memory reordering example