Add timmed_read function