Additional check to record dependency logic