added curl lib