10.20 how is a delegate similar to a function?