data split by categories