generate parts lists function added