a metal gate with a pattern