A collection of useful functions I tend to use a lot