Correcting video controller to avoid functions duplication