working on splice as single line