removing un-used functions