changed to path rather than line