Working for two lines