[minor] more generic data method