attempted mongodb integration