added example and stubbed out expectation decoding