Added ReadFrame method