[wip] offline category support