The code was weird. but your code (and mine) were easy enough to understand. so I was able to fix it.