add stock and waste piles to table
add basic functions for stock and waste