managing stockpile