added splicing capabilities