trying to implement .iter