refactoring  video dependencies