More work on advanced.rst