removed not used functions