implementing mongo
multi-templates