updated compute_rentals