Remove the function declearation in split for the performance