Used a proper split method instead of my janky tokenize method.