Pass symbol as an argument to iterator instead of a block