Output class using getResponse method to check response is available