Addition of the code and examples.