split function type changed