Add in get last response functionality