always ensure data when working with custom data resource