adding json and tweating the selected lines