video overlay refactoring