split function add in Mats Research