added dictreader functionality