add splice solution