added line type support