preparing for stock control