Adding LineType (possibly needs revising later