Library containing some frequently used functions