Fixed inconsistency error and started working on latency measurements