removing some unused code.