replace splitOn with built in words function