moved around db stuff