initial mongo conversion