Pass block to chekcout