setting up good and distributor model