combined both video tasks