made a utility function for split-sequence:split-sequence