add enc argument to jail_code