made readResponse public for now