Made the code easier to read/follow. Trying to figure out how to deal with pupCart.php