control package size and data