changed encoding and added more response info