implement mongo bootstrap