added missing assignment