problems, need to backtrack
ugg, this subtle problem again!