adds edit to line 166