splice loop