Restructured the program so that it’s more comprehensible.