added del method, test get_frames