Synthesis characterization and biological studies of substituted pyrimidinone and thiazole derivatives