modified marketplaceController