same iterator trick here for **1337** java mad skillz