Decode instead of encode