add strict and tainted mode, closes #206