rmode and pmode
rmode and pmode