DecodePos working