simply take the signature of the function to be passed and perform the following steps: