Added code to function that will return real numbers