changed config to get a float instead of int #303