readability changes, added unknown curl failure