readFrame