put gm clauses outside pa.type clause