Removed old fail code