added erb snippets