packaging part IV + debugging