reading ints and dates