add comment explaining why the code was reordered