decoder finished and tested