diff --git a/Control/AthenaExamples/AthExHive/src/ASCIICondDbSvc.cxx b/Control/AthenaExamples/AthExHive/src/ASCIICondDbSvc.cxx
index bf8497901a44ce1b53e6b0b822c52b716ebb4353..19ddb7e5a71540a1172f93bd8fe6d7cd8828cdb9 100644
--- a/Control/AthenaExamples/AthExHive/src/ASCIICondDbSvc.cxx
+++ b/Control/AthenaExamples/AthExHive/src/ASCIICondDbSvc.cxx
@@ -25,11 +25,7 @@ boost::regex ref(r_ef);
 
 ASCIICondDbSvc::ASCIICondDbSvc( const std::string& name, ISvcLocator* svcLoc ):
   base_class(name,svcLoc)
-{
-
-  declareProperty("CondFile",m_file="");
-  
-}
+{}
 
 //---------------------------------------------------------------------------
 
@@ -120,7 +116,7 @@ ASCIICondDbSvc::readDbFile(const std::string& fname) {
     }
     ifs.close();
   } else {
-    error() << "unable to open file " << m_file << endmsg;
+    error() << "unable to open file " << (std::string) m_file << endmsg;
     sc = StatusCode::FAILURE;
   }
 
@@ -193,8 +189,13 @@ ASCIICondDbSvc::parse(EventIDRange& t, const std::string& s) {
 
   if (m.size() != 5) { return false; }
 
-  t = EventIDRange( EventIDBase(std::stoi(m[1]),std::stoi(m[2])), 
-                    EventIDBase(std::stoi(m[3]), std::stoi(m[4])));
+  EventIDBase start(std::stoi(m[1]), std::stoi(m[2]));
+  EventIDBase   end(std::stoi(m[3]), std::stoi(m[4]));
+
+  start.set_lumi_block(m_lbn);
+  end.set_lumi_block(m_lbn);
+  
+  t = EventIDRange(start, end);
 
   return true;
 
@@ -210,9 +211,14 @@ ASCIICondDbSvc::parse(IOVEntryT<IASCIICondDbSvc::dbData_t>& ie, const std::strin
 
   if (m.size() != 6) { return false; }
 
-  ie.setRange( EventIDRange( EventIDBase(std::stoi(m[1]), std::stoi(m[2])), 
-                             EventIDBase(std::stoi(m[3]), std::stoi(m[4])) ) );
+  EventIDBase start(std::stoi(m[1]), std::stoi(m[2]));
+  EventIDBase   end(std::stoi(m[3]), std::stoi(m[4]));
+
+  start.set_lumi_block(m_lbn);
+  end.set_lumi_block(m_lbn);
 
+  ie.setRange(EventIDRange(start,end));
+  
   IASCIICondDbSvc::dbData_t *v = new IASCIICondDbSvc::dbData_t( std::stof(m[5]) );
   ie.setPtr(v);
 
@@ -237,6 +243,8 @@ ASCIICondDbSvc::getRange(const std::string& dbKey , const EventContext& ctx,
   }
 
   for (auto e : itr->second) {
+    debug() << "compare " << e.range() << " with " << ctx.eventID()
+            << endmsg;
     if (e.range().isInRange(EventIDBase(ctx.eventID()))) {
       rng = e.range();
       val = *(e.objPtr());
diff --git a/Control/AthenaExamples/AthExHive/src/ASCIICondDbSvc.h b/Control/AthenaExamples/AthExHive/src/ASCIICondDbSvc.h
index 29504c326bd7a6c7a048e0b74fbb3467672acbea..7ee98c89e730e20f1dd1caf3c5719c1fed8d21f6 100644
--- a/Control/AthenaExamples/AthExHive/src/ASCIICondDbSvc.h
+++ b/Control/AthenaExamples/AthExHive/src/ASCIICondDbSvc.h
@@ -43,7 +43,8 @@ private:
 
   StatusCode readDbFile(const std::string&);
 
-  std::string m_file;
+  Gaudi::Property<std::string> m_file{this, "CondFile", "", "cond db file name"};
+  Gaudi::Property<unsigned int> m_lbn{this, "LBN", 1, "explicit lumi block number"};
 
   typedef std::map<std::string, std::vector<IOVEntryT<IASCIICondDbSvc::dbData_t>>> registry_t;
   registry_t m_registry;
diff --git a/Control/AthenaExamples/AthExHive/src/AlgC.cxx b/Control/AthenaExamples/AthExHive/src/AlgC.cxx
index 5b2023ef49ec0906bab2199c6c4fa95b1fd2fd32..68e49dbdc229b9c8362d0703ffafbdbb1d7e3674 100644
--- a/Control/AthenaExamples/AthExHive/src/AlgC.cxx
+++ b/Control/AthenaExamples/AthExHive/src/AlgC.cxx
@@ -17,15 +17,7 @@
 AlgC::AlgC( const std::string& name, 
             ISvcLocator* pSvcLocator ) : 
   ::AthAlgorithm( name, pSvcLocator )
-// ,
-//   m_rdh1("a2"),
-//   m_rch("X1")
-{
-  
-  // declareProperty("Key_R1",m_rdh1);
-  // declareProperty("Key_CH", m_rch);
-
-}
+{}
 
 //---------------------------------------------------------------------------
 
diff --git a/Control/AthenaExamples/AthExHive/src/AlgT.cxx b/Control/AthenaExamples/AthExHive/src/AlgT.cxx
index 39145ef856995c47ca2bcb078d72f309c7e8fdce..eecc5fc37134139fc652aea10f5ad6ac9c55c458 100644
--- a/Control/AthenaExamples/AthExHive/src/AlgT.cxx
+++ b/Control/AthenaExamples/AthExHive/src/AlgT.cxx
@@ -17,23 +17,8 @@
 
 AlgT::AlgT( const std::string& name, 
 		    ISvcLocator* pSvcLocator ) : 
-  ::AthAlgorithm( name, pSvcLocator ),
-  m_wrh1("t1"), m_rdh1(""),
-  m_evt("McEventInfo"),
-  m_tool1("HiveTool",this),
-  m_tool2("HiveTool",this),
-  m_tool3("HiveTool",this)
-{
-
-  declareProperty("Key_R1",m_rdh1);
-  declareProperty("Key_W1",m_wrh1);
-  declareProperty("EvtInfo", m_evt);
-
-  declareProperty("Tool1",m_tool1);
-  declareProperty("Tool2",m_tool2);
-  declareProperty("Tool3",m_tool3);
-  
-}
+  ::AthAlgorithm( name, pSvcLocator )
+{}
 
 //---------------------------------------------------------------------------
 
diff --git a/Control/AthenaExamples/AthExHive/src/AlgT.h b/Control/AthenaExamples/AthExHive/src/AlgT.h
index 49787b1eab3880f4cf7247244dddc866778bde5b..b6250c84eacbe8a5e86b380cda7445991ac6bca5 100644
--- a/Control/AthenaExamples/AthExHive/src/AlgT.h
+++ b/Control/AthenaExamples/AthExHive/src/AlgT.h
@@ -32,12 +32,14 @@ public:
   
 private:
 
-  SG::WriteHandleKey<HiveDataObj> m_wrh1;
-  SG::ReadHandleKey<HiveDataObj>  m_rdh1;
-  SG::ReadHandleKey<EventInfo> m_evt;
+  SG::ReadHandleKey<EventInfo> m_evt{this, "EvtInfo", "McEventInfo", "EventInfo name"};
+  SG::ReadHandleKey<HiveDataObj>  m_rdh1{this,"Key_R1","","read key"};
+  SG::WriteHandleKey<HiveDataObj> m_wrh1{this,"Key_W1","t1","write key"};
 
 
-  ToolHandle<IHiveTool> m_tool1, m_tool2, m_tool3;
+  ToolHandle<IHiveTool> m_tool1{this, "Tool1", "HiveTool", "tool 1"};
+  ToolHandle<IHiveTool> m_tool2{this, "Tool2", "HiveTool", "tool 2"};
+  ToolHandle<IHiveTool> m_tool3{this, "Tool3", "HiveTool", "tool 3"};
   
 };
 #endif
diff --git a/Control/AthenaExamples/AthExHive/src/HiveAlgBase.cxx b/Control/AthenaExamples/AthExHive/src/HiveAlgBase.cxx
index d194ea7d0756736791dfcbf0e522edbcde5b8353..401130de96b27a419cb04c6d45fbd34174b8ef5a 100644
--- a/Control/AthenaExamples/AthExHive/src/HiveAlgBase.cxx
+++ b/Control/AthenaExamples/AthExHive/src/HiveAlgBase.cxx
@@ -14,9 +14,6 @@ HiveAlgBase::HiveAlgBase( const std::string& name,
   ::AthAlgorithm( name, pSvcLocator ),
   m_hes("HiveExSvc",name)
 {
-
-  declareProperty("Time",m_time=0);
-
 }
 
 HiveAlgBase::~HiveAlgBase() {}
diff --git a/Control/AthenaExamples/AthExHive/src/HiveAlgBase.h b/Control/AthenaExamples/AthExHive/src/HiveAlgBase.h
index dd63bda34baa3d14fae223ba3be8d9f07b4dd11e..4b306bac595dcbb6db8bef2a89c0db43ad8bea4b 100644
--- a/Control/AthenaExamples/AthExHive/src/HiveAlgBase.h
+++ b/Control/AthenaExamples/AthExHive/src/HiveAlgBase.h
@@ -40,7 +40,7 @@ protected:
   
 private:
 
-  int m_time;
+  Gaudi::Property<int> m_time{this, "Time", 0, "default alg sleep time"};
   
 
 };
diff --git a/Control/AthenaExamples/AthExHive/src/HiveAlgL1.cxx b/Control/AthenaExamples/AthExHive/src/HiveAlgL1.cxx
index ba0165a9411b336f79bfefa117d7c37a473d412c..c23f6d5e34e301a28fa1e2faae33fbf1ffa9e55e 100644
--- a/Control/AthenaExamples/AthExHive/src/HiveAlgL1.cxx
+++ b/Control/AthenaExamples/AthExHive/src/HiveAlgL1.cxx
@@ -10,15 +10,8 @@
 
 HiveAlgL1::HiveAlgL1( const std::string& name, 
                       ISvcLocator* pSvcLocator ) : 
-  ::HiveAlgBase( name, pSvcLocator ),
-  m_rdh1("a2"),
-  m_wrh1("l1")
-{
-  
-  declareProperty("Key_R1",m_rdh1);
-  declareProperty("Key_W1",m_wrh1);
-
-}
+  ::HiveAlgBase( name, pSvcLocator )
+{}
 
 HiveAlgL1::~HiveAlgL1() {}
 
diff --git a/Control/AthenaExamples/AthExHive/src/HiveAlgL1.h b/Control/AthenaExamples/AthExHive/src/HiveAlgL1.h
index 0d00b95baee7a444065b05a2f66bf85f0542c3ac..d59cdf1b5d78ff13e37d6a7a8e757286920b395a 100644
--- a/Control/AthenaExamples/AthExHive/src/HiveAlgL1.h
+++ b/Control/AthenaExamples/AthExHive/src/HiveAlgL1.h
@@ -30,8 +30,8 @@ public:
   
 private:
   
-  SG::ReadHandleKey<HiveDataObj> m_rdh1;
-  SG::WriteHandleKey<HiveDataObj> m_wrh1;
+  SG::ReadHandleKey<HiveDataObj> m_rdh1{this, "Key_R1", "a2", "read key"};
+  SG::WriteHandleKey<HiveDataObj> m_wrh1{this, "Key_W1", "l1", "write key"};
   
 };
 #endif
diff --git a/Control/AthenaExamples/AthExHive/src/HiveAlgL2.cxx b/Control/AthenaExamples/AthExHive/src/HiveAlgL2.cxx
index b790c6165cb6a78e27dc85f2d253d93dc8991d88..24241df398718b3b983e9ed836d1a0ba58d85985 100644
--- a/Control/AthenaExamples/AthExHive/src/HiveAlgL2.cxx
+++ b/Control/AthenaExamples/AthExHive/src/HiveAlgL2.cxx
@@ -10,12 +10,10 @@
 
 HiveAlgL2::HiveAlgL2( const std::string& name, 
                       ISvcLocator* pSvcLocator ) : 
-  ::HiveAlgBase( name, pSvcLocator ),
-  m_rdh1("l1"),
-  m_udh1("l1")
+  ::HiveAlgBase( name, pSvcLocator )
+  ,m_udh1("l1")
 {
   
-  declareProperty("Key_R1",m_rdh1);
   declareProperty("Key_U1",m_udh1);
 
 }
diff --git a/Control/AthenaExamples/AthExHive/src/HiveAlgL2.h b/Control/AthenaExamples/AthExHive/src/HiveAlgL2.h
index b0d51bb7088455027158aea4335a6c4b14b796f6..25e0de1efb4fceb4c0fd5f452be93c5cb468aa3a 100644
--- a/Control/AthenaExamples/AthExHive/src/HiveAlgL2.h
+++ b/Control/AthenaExamples/AthExHive/src/HiveAlgL2.h
@@ -31,8 +31,10 @@ public:
   
 private:
   
-  SG::ReadHandleKey<HiveDataObj> m_rdh1;
+  SG::ReadHandleKey<HiveDataObj> m_rdh1{this, "Key_R1", "l1", "read key"};
+
   SG::UpdateHandleKey<HiveDataObj> m_udh1;
+
   
 };
 #endif
diff --git a/Control/AthenaExamples/AthExHive/src/HiveAlgL3.cxx b/Control/AthenaExamples/AthExHive/src/HiveAlgL3.cxx
index 9fce65e9a022b6cc50a720ce406b4e3f0475fdd6..af5ae6d01b63e5b151067aa2fd6c3c2dbbe55c8a 100644
--- a/Control/AthenaExamples/AthExHive/src/HiveAlgL3.cxx
+++ b/Control/AthenaExamples/AthExHive/src/HiveAlgL3.cxx
@@ -10,8 +10,8 @@
 
 HiveAlgL3::HiveAlgL3( const std::string& name, 
                       ISvcLocator* pSvcLocator ) : 
-  ::HiveAlgBase( name, pSvcLocator ),
-  m_udh1("l1")
+  ::HiveAlgBase( name, pSvcLocator )
+  ,m_udh1("l1")
 {
   
   declareProperty("Key_U1",m_udh1);
diff --git a/Control/AthenaExamples/AthExHive/src/HiveAlgM.cxx b/Control/AthenaExamples/AthExHive/src/HiveAlgM.cxx
index 15efbdc8c20e350777c13245557a4ff15458b8c0..8a791b21f9f4d94d11978b7c961bda3098bbb5d1 100644
--- a/Control/AthenaExamples/AthExHive/src/HiveAlgM.cxx
+++ b/Control/AthenaExamples/AthExHive/src/HiveAlgM.cxx
@@ -9,16 +9,8 @@
 
 HiveAlgM::HiveAlgM( const std::string& name, 
                       ISvcLocator* pSvcLocator ) : 
-  ::HiveAlgBase( name, pSvcLocator ),
-  m_rdh1("a2"),
-  m_rdh2("l1")
-{
-  
-  declareProperty("Key_R1",m_rdh1);
-  declareProperty("Key_R2",m_rdh2);
-  declareProperty("Offset",m_off);
-
-}
+  ::HiveAlgBase( name, pSvcLocator )
+{}
 
 HiveAlgM::~HiveAlgM() {}
 
@@ -58,7 +50,7 @@ StatusCode HiveAlgM::execute() {
   ATH_MSG_INFO("  read: " << rdh2.key() << " = " << rdh2->val() );
 
   if ( rdh2->val() != (rdh1->val() + m_off) ) {
-    ATH_MSG_ERROR (rdh2.key() << " != " << rdh1.key() << " + " << m_off);
+    ATH_MSG_ERROR (rdh2.key() << " != " << rdh1.key() << " + " << (int) m_off);
   } else {
     ATH_MSG_INFO( "loop is ok");
   }
diff --git a/Control/AthenaExamples/AthExHive/src/HiveAlgM.h b/Control/AthenaExamples/AthExHive/src/HiveAlgM.h
index 969de54f3c51fbbefbfd156cd8a2bdf591ee6283..071898f86c32fe7a1cf4d17b296bb85065a782c4 100644
--- a/Control/AthenaExamples/AthExHive/src/HiveAlgM.h
+++ b/Control/AthenaExamples/AthExHive/src/HiveAlgM.h
@@ -29,9 +29,9 @@ public:
   
 private:
   
-  int m_off { 1 };
-  SG::ReadHandleKey<HiveDataObj> m_rdh1;
-  SG::ReadHandleKey<HiveDataObj> m_rdh2;
+  Gaudi::Property<int> m_off {this, "Offset", 1, "offset"};
+  SG::ReadHandleKey<HiveDataObj> m_rdh1{this, "Key_R1", "a2", "read key 1"};
+  SG::ReadHandleKey<HiveDataObj> m_rdh2{this, "Key_R2", "l1", "read key 2"};
   
 };
 #endif
diff --git a/Control/AthenaExamples/AthExHive/src/HiveAlgR.cxx b/Control/AthenaExamples/AthExHive/src/HiveAlgR.cxx
index eab367f6dcef5d95a3be4842d084e03bcca2164d..e433a9bce04ca2b71b5b957d2dfbf538f623e71b 100644
--- a/Control/AthenaExamples/AthExHive/src/HiveAlgR.cxx
+++ b/Control/AthenaExamples/AthExHive/src/HiveAlgR.cxx
@@ -19,14 +19,7 @@ DECLARE_COMPONENT(HiveAlgR)
 HiveAlgR::HiveAlgR( const std::string& name, 
 		    ISvcLocator* pSvcLocator ) : 
   ::AthReentrantAlgorithm( name, pSvcLocator )
-  ,m_evt("McEventInfo")
-  ,m_wrh1("ar1")
-{
-  
-  declareProperty("Key_W1",m_wrh1);
-  declareProperty("EvtInfo",m_evt);
-
-}
+{}
 
 HiveAlgR::~HiveAlgR() {}
 
diff --git a/Control/AthenaExamples/AthExHive/src/HiveAlgR.h b/Control/AthenaExamples/AthExHive/src/HiveAlgR.h
index ed8ffb873817db1bd91f9c68dba50899463488d3..a7bcfbd16b6c8f32bbb8ff4235f8d495e9619b40 100644
--- a/Control/AthenaExamples/AthExHive/src/HiveAlgR.h
+++ b/Control/AthenaExamples/AthExHive/src/HiveAlgR.h
@@ -29,9 +29,9 @@ public:
   
 private:
 
-  SG::ReadHandleKey<EventInfo> m_evt;
+  SG::ReadHandleKey<EventInfo> m_evt{this, "EvtInfo", "McEventInfo", "event info key"};
 
-  SG::WriteHandleKey<HiveDataObj> m_wrh1;
+  SG::WriteHandleKey<HiveDataObj> m_wrh1 {this, "Key_W1", "ar1", "write handle key"};
   
 };
 #endif
diff --git a/Control/AthenaExamples/AthExHive/src/HiveAlgV.cxx b/Control/AthenaExamples/AthExHive/src/HiveAlgV.cxx
index 72cf1280c7e96e6282f038719f456b1bbacbc80c..2d7d5de5e53c10b977dffe7c32c721ff17eddcfc 100644
--- a/Control/AthenaExamples/AthExHive/src/HiveAlgV.cxx
+++ b/Control/AthenaExamples/AthExHive/src/HiveAlgV.cxx
@@ -11,11 +11,7 @@
 HiveAlgV::HiveAlgV( const std::string& name, 
                       ISvcLocator* pSvcLocator ) : 
   ::HiveAlgBase( name, pSvcLocator )
-{
-  
-  declareProperty("WriteBeforeRead",m_writeFirst=true);
-
-}
+{}
 
 HiveAlgV::~HiveAlgV() {}
 
diff --git a/Control/AthenaExamples/AthExHive/src/HiveAlgV.h b/Control/AthenaExamples/AthExHive/src/HiveAlgV.h
index 48e6fee4a4bae2fa289aef0a9cfc54a3f1ba7460..04068e4bb8a19d9145456d34c67a3f50cfb105dd 100644
--- a/Control/AthenaExamples/AthExHive/src/HiveAlgV.h
+++ b/Control/AthenaExamples/AthExHive/src/HiveAlgV.h
@@ -30,7 +30,8 @@ public:
   
 private:
   
-  bool m_writeFirst { true };
+  Gaudi::Property<bool> m_writeFirst {this, "WriteBeforeRead", true,
+      "do write before the read" };
 
   SG::ReadHandleKeyArray<HiveDataObj> m_rhv {
     this, "Key_RV", {"a1","a2","d1","e1","c1"},
diff --git a/Control/AthenaExamples/AthExHive/src/HiveTool.cxx b/Control/AthenaExamples/AthExHive/src/HiveTool.cxx
index 242a129534537fe3a9b3f73ddaa5cd036b7d57db..dca8aa6c211c097de1c5ea7343f05b4bbd39008a 100644
--- a/Control/AthenaExamples/AthExHive/src/HiveTool.cxx
+++ b/Control/AthenaExamples/AthExHive/src/HiveTool.cxx
@@ -14,15 +14,8 @@
 
 HiveTool::HiveTool(const std::string& type, const std::string& name, 
 			 const IInterface* parent)
-  : base_class( type, name, parent ),
-    m_rdh1("x1"),
-    m_wrh1("X1")
-{
-  
-  declareProperty("Key_R1",m_rdh1);
-  declareProperty("Key_W1",m_wrh1);
-
-}
+  : base_class( type, name, parent )
+{}
 
 /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
 
diff --git a/Control/AthenaExamples/AthExHive/src/HiveTool.h b/Control/AthenaExamples/AthExHive/src/HiveTool.h
index 00b57d32c6eda3e3dd12a39a293e584ce745979a..ecd1baf51dd0e770db2b1b69a6d45193804dd997 100644
--- a/Control/AthenaExamples/AthExHive/src/HiveTool.h
+++ b/Control/AthenaExamples/AthExHive/src/HiveTool.h
@@ -25,8 +25,8 @@ public:
 
 private:
 
-  SG::ReadHandleKey<HiveDataObj> m_rdh1;
-  SG::WriteHandleKey<HiveDataObj> m_wrh1;
+  SG::ReadHandleKey<HiveDataObj>  m_rdh1{this, "Key_R1", "x1", "tool read key"};
+  SG::WriteHandleKey<HiveDataObj> m_wrh1{this, "Key_W1", "X1", "tool write key"};
 
 };