- removing object instanciation from the foreach loop (sorry for this horror...)