From crash to memory leak, making progress
Working but without the parent scope