Added public and private methods snippets