small update that speeds up reading from SD card