started testing encoder