split no longer gives errors, but I'm not quite sure it works