Fixed spelling error.  Removed unecessary code