move group aside data to API