lines 101 and 102 commented out, because of the memory leakage. TODO: Check what's the problem in there