refactoring viedo params