added curl init