removed some code that we no longer use.