shouldn't this be `size`, not `packageSize`?