found the error

At least I think I have