added advanced topics to code