Added an example code.