with erb templates