add basic support for extended frames