add out of stock function