insert handles string sequence as input