simplify with write_frame() like curtsies