Chemistry of functionalized small-ring heterocycles door