working with HTTP responsese