Can we use the `getByValue` function defined below here..?