now passing in mongodb config info