instance variables as floats and test runs successfully