committing before moving to closures