nitpick, don't use any_instance as you have a reference to the actual object via 'enc'