changed actions to commands