exclude unnecessary lines