Here is some of functions I did and used in my scripts