close to working splice data