tested and working with live influx for success and failure cases, comment tweak