New funcs added, redoing strsplit badly coded