decoder has costs stubs