I'm worrying this may cause memory leaks.