removed extra db declaration