deleted code not being used