Made a switch statement for the end. I don't have one for the start yet.