add TweakMode
Merge pull request #21 from galsasson/patch-1

add TweakMode