read data from card during start up