How can I correct this function compile error?

Yup, that did it. Thanks.