Use `where` construct instead of `return` function