right before JPAing the whole thing