rename checkResult to checkResponse