added backend reply parsing