Reorder and a bit clarification for the code.