I think I finally figured it out