Some small function and modules useful in projects