unnecessary code which was used to delete old mogodb collection and create a new one.