inventory module implementation