Is this extra assignment necessary?