preparing block check and compare check