Have to use SELECT to call a function