checking intermediate results