unfortunately even after removing init/exit there is still a memory issue