closer to getting closures to work