integrating database