termination working - still tweaking splice variables