check if we do better if without debug prints