small refactoring, loop.add accepts var args

Change-Id: I0bc7b99c8a2d8a9f2b4ee727543540154bc57a43