The present invention discloses compounds useful in treatment of conditions associated with excessive activity of transforming growth factor beta (TGF-β), particularly type I or activin-like kinase 5 (ALK 5). Specifically, the present invention discloses compound of formula (I)which exhibit inhibitory activity against ALK 5. Method of treating conditions associated with excessive activity (ALK 5) with such compound is disclosed. Uses thereof, pharmaceutical composition, and kits are also disclosed.