added the closure parser