hopefully finally figured it out