comment for `resize`