using csv files instead of template