float is not a valid type