The code can be refactored by using a single using a single function.
The code can be refactored by using a single using a single function.