added encoder files