p and id control diagrams for gold processing