implementing curl module