implemented decoding of SSR