added booleans for contract types