This invention relates to compounds of formula (A) and methods for the treatment of cancer. In particular, the invention provides compounds that inhibit Aurora kinase, pharmaceutical compositions comprising the compounds, and methods of using the compounds for the treatment of cancer.