I'd put that just after the splice (a few lines before)