took him in and taught him the secrets , taught him the name of the thing he 'd seen , the name that was the ultimate masonic word : tiamat taught him about the machine , the shakti device that the brother from the stars had brought to cagliostro .