Using a function.