added curl based requests