DetectCommutation working