Add some logics