added missing const keywords