The invention provides a method, compounds and compositions for modulating theactivity of the hedgehog signalingpathway. In particular, the invention provides a method for inhibitingaberrant growth states resulting from phenotypessuch as Ptc loss-of-function, hedgehog gain-of- function, smoothened gain-of-function or GIi gain-of-function, comprising contactinga cell with a sufficient amount of a compound of Formula (I).