start on prototype to extract frames