g mechanism