finished 60% of video.py
last two functions remaining