changed docs to use fmode and dmode
0.2.1