handling raw response