add status code response functions