assign internal categories