make sample program using the function call