added .iterator to A