encode question