adds size field