Split functionality is working as desired