https://medium.com/@victor.silva.morais/the-power-of-switch-statements-when-and-why-to-use-them-aa72d1633e5b