example code to be added soon, see ?join_frames for details.