Switched the order of actions, so that the explanation flows better