Trying to get the function