bad collision code, works but leaks everywhere!