adds db to get instance