added loop to customers_controller