checking for response