Add helper for common used functions