He took up residence in Moscow , and was given a post at Moscow 's Institute for Mathematics , and a post of trainer of the USSR national team . He took permanent residence in Moscow , and was given a post at Moscow 's Institute for Mathematics and a post of trainer of the USSR national team .