All the generic functions used in my projects