now older and a little more circumspect , he occupied himself advising wealthy friends on how best to shield their money from the inland revenue , and had become something of an expert in setting up foundations , trusts and shell companies in far flung places .