flowchart how is jigs formed