made returning float value static