Code Snippets  which is useful