Density functionals: Where do they come from, why do they work?.- Nonlocal energy functions: Gradient expansions and beyond.- Exchange and correlation in density functional theory of atoms and molecules.- Analysis and modelling of atomic and molecular kohn-sham potentials.- Local-scaling transformation version of density functional theory: Generation of density functionals.