changes to decoder