changed the type from number to real (number included imaginary numbers -- wrong)