changed db conns to method vals