memory leaks are eliminated