Add a way to handle if action is not a key in the dictionary