trying out curl lib