The invention relates to compounds of formula (I): n nwherein R 1 , R 2 , R 3 , R 4 , R 5 , and R 6 as defined herein. The invention also relates to pharmaceutical compositions and methods of treating bacterial infections using compounds of formula (I).