updated if control block. Need to change compare instruction