almost got MongoDB to work