began the implementation of the functions to dump frames to disk·