init for CGMwP