mean should be a float