encoding was hardcoded, this seems like a good to expose for now