removing unused lines