made completely from scratch inspiration for original split code https://scratch.mit.edu/projects/930480939/ Variable is not case sensitive