add dataReady property to indicate when data has been fetched