updating the proof for automation