added scope haveData