simplify base Stratego code