An overview of modern density functional theory (DFT).- A new generation of doubly hybrid density functionals (DHDFs).- Benchmarking the performance of DHDFs for the main group chemistry.- XYG3 results for some selected applications.- Concluding remarks.