add splice for git merging