update code to fetch bytes in reverse - allowing user to fetch data for the last x timestamp