Fix, move pass to end of function.  Fix, add missing ().  Add better debugging strings.