simplify the crmacct code