enhancement to splitting example