corrected peek and poke routines