Weird Error

Fixed some of the problems, but now we're getting a weird "variable is
not bound" error.