all steps b4 epoching