Removed unused code that should not have been committed