modified

replaced split method