get closures working