generate actions for