my used functions