- implement kairos db