reducing calls to get_all_fits