adding a line locally