second part of first stab at optimizing IntegrityDAO