typecpnverted int to float to try to get things working