add private mode

fixed #31