added arithmetic to gm