Looks like this local variable "out" is never used.  Did you mean to "return out"?