a machine with a metal gate