make frame type optional
add test for wrapping all get functions