Reseller function extended