change split function