updated for api changes to include style in DataRepository