Results 13 comments of old

yes, but in this case it is redundant, when you can do one thing, and use a function from different parts of the code, while not allowing duplication of code