Simple function that returns two values