This works exept for the decoder for some reason can somebody fix it for me and explain why it was not working?