simplified program by removing some extraneous things
new encoder files