implmented for x in arr/hash {block}