adding additional logic in evaluate

adding if a and b, then must c