failsafe option and example with encryption