removed iterator read
some prototype code