line is changed in funciton