video selecter logic done