I realized that this runs cap twice