removeing not needed lines