slight modification to the .split() method