start of a utility function for product availability