Encoder class now does full resolution
ran auto-format on all the examples