using haveData scrope