link function to signature, and back