added an initial generator for add and sub.