cleaned up some code that was never used