Removed superfluous loop.