adapt sequential string