Changed the split method

Changed the split method