All code is cleared and reordered