split off pkg stuff