Stable. Better logging