compound generator