copy reader process
forgot to define the function
first test worked