customer functions
reseller fixes