removed obselete function call