master chain, improved logging