starting definition for new class S99Logic