don't sleep in between write and read!