create offering function created