Sorry, I forgot the function had to be a delegate.