read_handle function
no c11