split method added