for TT, using mongodb instead of my own code...