added split method