Added some sample code snippets