starting working on the settling up feature. Almost done but still busted