fix any styleguide problem and delete Artemii's changes
add encoder.t