adding a new 'type' property for a line