simple functions, that I write when needed and I see it could be helpful for some other people.