What could go wrong with this implementation? Simulate potential failures