automatic compound mechanism