Now the actions are in a class