no longer using db or metrics packages