don't need type annotations here
use realToFrac