added gc() in print statement.