all memory leaks checked