added some erb snippets