introduce Action contextmanager