func split