rearranged demo