lots more work

currently breaking Encoding