getting mongo data