Remove old line function