added product availability function