this is named `text` but it is returning a `float`, shouldn't it say `frequency`?