cheking in intermediate results