finally figured this out