Would this work if it just returned a primitive `double`?