How do you write a function from a function table?