Added loop through CSV file