The present invention discloses compounds for inhibition of uncontrolled cell proliferation particularly in cancer stem cells. Particularly, the invention relates to compounds of Formula III to XIV for the treatment of cancer, such as breast and prostate cancer.