Synthesis of new compounds with potential biological activity