db helpers finished