The invention provides a method, compounds and compositions for modulating the activity of the hedgehog signaling pathway. In particular, the invention provides a method for inhibiting aberrant growth states resulting from phenotypes such as Ptc loss-of-function, hedgehog gain-of- function, smoothened gain-of-function or GIi gain-of-function, comprising contacting a cell with a sufficient amount of a compound of Formula (I).