moved erb_helper to new file
removed duplicate method