DRY up the closure