is there reason why not use foreach?