still working, now adding the result processing and number updating bits. Some code represents testing because I keep getting an odd result where the object prints, but there's a '1' after it and that is what seems to be the object. That is, when I say'echo 'ALL: ' . print_r(), the object gets printed first then 'ALL: 1'