refactored out a video type