mandala logic