add splits input string into tokens