This way we can have a generic function we can apply in other places.
This way we can reuse it in other places.