added leak detection and found none