if variable not defined in scope then find it in the last response