ordered code in more logical manner.  officially deprecated dumpRack().