smooth mongodb integration