Bacterial resistance mechanisms