function "read" done.