added structure to erb files