this allows us to measure the read and write speeds on our devices