removes dependency on profile, and checkpoint