Removed gates2 and changed mitt9 to mitt8