Mechanism of antibiotic resistance revealed