modify process_read