change return type to float
better tests