checkpointing, working on reporting and threshold check