$ 0 0 I isolated my code like you suggested and in moving things around, everything fell into place. I didn't need to change much of the code itself, but arranging it different seemed to do the trick. Thanks!