Added commonly used functions