add helper function for invoking closures that only take one argument