completed db integration