Due to the addition of new states, there is a need to implement the state pattern, which will make the code easier to maintain in the future.