fixed up/down partition. i now have a very complicated version of random