add delete code to lines and stations