COSMIT factor out split data as struct