added hallp to initcommitsdb()