actions as closures