prototyping collection and db destroy